module.exports = app => {
  const { router, controller } = app;
  const auth = app.middleware.auth()
  // 创建消息通知
  router.post('/notice/create', auth, controller.notice.create);
  // 查询消息通知
  router.get('/notice/list', auth, controller.notice.list)
  // 更新消息通知状态
  router.put('/notice/update', auth, controller.notice.updateStatus)
}
